package com.javasea.web.config.config.outside;

import com.javasea.web.config.entity.NodeEntity;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 *@ClassName OpcPlcAddrConfig
 *@Description TODO
 *@Author longxiaonan@163.com
 *@Date 2022/3/20 0020 13:35
 */
@Data
@Component
@ConfigurationProperties(prefix = "opc")
@PropertySource(value = "classpath:opcPlcAddr.properties")
public class OpcPlcAddrConfig1 {
    private List<NodeEntity> plcNode = new ArrayList<>();
}
